package AMT;

public class Record {
    //用来存储记录的信息
    private String id;//是哪个用户的记录
    private String type;//交易类型
    private String time;//交易时间
    private String content;//交易内容

    public Record() {
    }

    public Record(String id, String type, String time, String content) {
        this.id = id;
        this.type = type;
        this.time = time;
        this.content = content;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return "记录  " +
                "id='" + id + '\'' +
                ", type='" + type + '\'' +
                ", time='" + time + '\'' +
                ", content='" + content + '\'';
    }


}
